runtime.hchan.qcount (field)
14 uses
runtime (current package)
chan.go#L34: qcount uint // total data in the queue
chan.go#L138: return c.qcount == c.dataqsiz
chan.go#L216: if c.qcount < c.dataqsiz {
chan.go#L227: c.qcount++
chan.go#L435: return atomic.Loaduint(&c.qcount) == 0
chan.go#L514: if c.qcount == 0 {
chan.go#L537: if c.qcount > 0 {
chan.go#L551: c.qcount--
chan.go#L732: return int(c.qcount)
chan.go#L740: return int(c.qcount)
select.go#L259: if c.qcount > 0 {
select.go#L276: if c.qcount < c.dataqsiz {
select.go#L443: c.qcount--
select.go#L464: c.qcount++
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |